<template>
  <div class="oca">
    <my-header title="网友评论">
      <template #right> &nbsp; </template>
    </my-header>

    <div class="wrap"></div>
  </div>
</template>

<script>
export default {
  data() {
    return {
        commonListAll:[]
    };
  },
  methods: {
    // 获取别人的评论数据
    async getOtherComment() {
      let res = await this.$ajax.getOtherCommentData({
        device: "h5",
        ignoreEssenceIds: [],
        ignoreHotIds: [],
        mid: -1,
        pageNum: 1,
        pageSize: 20,
        platform: 2,
        scene: "item_detail_page",
        subPageSize: 2,
        // subjectId: "10076608",
        subjectId: this.$route.query.itemsId,
        subjectType: 1,
        version: "1.1",
      });
      this.commonListAll = res.data.commonList;
      console.log(this.commonListAll);
    },
  },
  mounted() {
      this.getOtherComment()
  },
};
</script>